transition

fun <F, T : Any> transition(    oldState: F,     transition: KClass<T>,     newState: F): TransitionDef<F, T>